package top.continew.admin.generator.model.req;

import jakarta.validation.constraints.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import org.hibernate.validator.constraints.Length;
import java.io.Serial;
import java.io.Serializable;
import java.time.*;

/**
 * 省区负责人创建或修改参数
 *
 * @author jiangjun
 * @since 2025/06/24 10:40
 */
@Data
@Schema(description = "省区负责人创建或修改参数")
public class ProvinceLeadersReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 省区id
     */
    @Schema(description = "省区编码")
    @NotBlank(message = "省区编码不能为空")
    private String provinceCode;
    private String provinceName;

    /**
     * 用户编号
     */
    @Schema(description = "用户编号")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    private String userName;
    private String userPhone;
}